package com.example.blog.service;

import com.example.blog.pojo.request.UserLoginRequest;
import com.example.blog.pojo.request.UserRegisterRequest;
import com.example.blog.pojo.response.Result;
import com.example.blog.pojo.response.UserInfoResponse;
import com.example.blog.pojo.response.UserLoginResponse;

public interface UserService {

    UserLoginResponse check(UserLoginRequest loginRequest) ;

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse getAuthorInfo(Integer blogId);

    Boolean add(UserRegisterRequest registerRequest);
}
